package ip.youtube;

import java.util.List;

public interface DAOInterface {

	//returns list with video-urls related to user
	public List<Video> findAllVideos(int user_id);
	
	//returns user object with given name
	public User getUserByName(String name);
	
	//registers new user with given data
	public int registerNewUser(String name, String password);
	
}
